import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import './assets/css/base.css'
import './assets/iconfont/iconfont.js'
import './assets/iconfont/iconfont.css'
import { getLocalStorage, setLocalStorage, removeLocalStorage } from './utils/localStorage'

Vue.use(ElementUI)

Vue.config.productionTip = false
Vue.prototype.$getLocalStorage = getLocalStorage
Vue.prototype.$setLocalStorage = setLocalStorage
Vue.prototype.$removeLocalStorage = removeLocalStorage

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
